﻿@model SGC_CarteraClientes.Models.CA_EMPRESA

@{
    ViewBag.Title = "Edit";
}

<h2>Modificar Entidad</h2>
<hr />
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CA_EMPRESA</legend>

       <div class="noView">
        <div class="editor-label">
            @Html.LabelFor(model => model.EMPR_ID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EMPR_ID)
            @Html.ValidationMessageFor(model => model.EMPR_ID)
        </div>
        </div>

         <div class="editor-label">
            @Html.Label("ID Empresa")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.EMPR_ID, new {@disabled="disabled", size = "8" })
            @Html.ValidationMessageFor(model => model.EMPR_ID)
        </div>

        <div class="editor-label">
            @Html.Label("Nombres o Razón Social")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EMPR_DESC)
            @Html.ValidationMessageFor(model => model.EMPR_DESC)
        </div>

        <div class="editor-label">
            @Html.Label("RUC")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EMPR_RUC)
            @Html.ValidationMessageFor(model => model.EMPR_RUC)
        </div>

        <div class="editor-label">
            @Html.Label("Domicílio Fiscal")

        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EMPR_DIR)
            @Html.ValidationMessageFor(model => model.EMPR_DIR)
        </div>
        <p>
            <input type="submit" value="Guardar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Cancelar", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
